<script setup lang="ts">
const route = useRoute()
console.log('userId=',route.params.userId)
</script>

<template>
<div>{{route.params.userId}}</div>
</template>

<style scoped>

</style>